package PhamVanHien_LTHDT01;

public class Views {
public static void main(String[] args) {
	//1. khai bao va khoi tao thong tin doi tuong
	UserEntity objUser = new UserEntity();
	objUser.setUserid(1);
	objUser.setFullName("Tran Thi B");
	objUser.setUserName("abc");
	objUser.setPassword("123");
	
	//2. khai bao va khoi tao doi tuong
	Controllers objControllers = new Controllers(objUser);//Khong truyen dk tham so vao
	
	//3. uy quyen thuc thi nghiep vu
	if(objControllers.CheckUser()){
		System.out.println("Chuc mung ban da dang nhap thanh cong");
	}
	else{
		System.out.println("Rat tiec ban chua dang nhap vao duoc");
	}
}
}
